package com.hnguigu.health.houduan.jpx.service_jpx.impl;

import com.hnguigu.health.houduan.jpx.service_jpx.TOrderSer;
import com.hnguigu.health.mapper.TOrderMapper;
import com.hnguigu.health.pojo.TOrder;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class TOrderSerimpl implements TOrderSer {
    @Autowired(required = false)
    TOrderMapper tOrderMapper;


    @Override
    public int TOrderAdd(TOrder tOrder) {
        return tOrderMapper.insertSelective(tOrder);
    }

}
